﻿using AutoMapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
using ZFY.AspNetCore;
using ZFY.DDD.Application.Abstractions;
using ZFY.Core;

namespace ZFY.DDD.Application
{
    public abstract class ApplicationService: IApplicationService, IScopeDependency,IHasPropertiesAutowired
    {

        public IZFYServiceProvider ZFYServiceProvider { get; set; }


        protected IMapper Mapper => ZFYServiceProvider.LazyGetRequiredService<IMapper>();

    }
}
